package customer

type Member struct {
	ID            int    `gorm:"column:id;primary_key"`
	VisitTimes    int    `gorm:"column:visit_times"`
	AllocateTimes int    `gorm:"column:allocate_times"`
	DepartmentID  int    `gorm:"column:department_id"`
	CreateID      int    `gorm:"column:create_id"`
	OperatorID    int    `gorm:"column:operator_id"`
	Fullname      string `gorm:"column:fullname"`
	Sex           int    `gorm:"column:sex"`
	CompanyID     int    `gorm:"column:company_id"`
	SourceID      int    `gorm:"column:source_id"`
	ProvinceID    int    `gorm:"column:province_id"`
	CityID        int    `gorm:"column:city_id"`
	ZoneID        int    `gorm:"column:zone_id"`
	Remark        string `gorm:"column:remark"`
	Status        int    `gorm:"column:status"`
	IsAllocate    int    `gorm:"column:is_allocate"`
	CreateTime    int    `gorm:"column:create_time"`
	UpdateTime    int    `gorm:"column:update_time"`
	DeleteTime    int    `gorm:"column:delete_time"`
}

func (Member) TableName() string {
	return "tk_member"
}
